home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 3.2 KB | 96 lines | [TEXT/MPS ] |
- /*
- File: Components.idl
-
- Contains: Component Manager Interfaces.
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __COMPONENTS_IDL__
- #define __COMPONENTS_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __MIXEDMODE_IDL__
- #include <MixedMode.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- /* Component Resource Extension flags */
- /* Set Default Component flags */
- /* RegisterComponentResource flags */
- typedef SOMLargeStruct ComponentDescription; /* Derived from a struct of 20 bytes in size */
-
- typedef SOMLargeStruct ResourceSpec; /* Derived from a struct of 6 bytes in size */
-
- typedef SOMLargeStruct ComponentResource; /* Derived from a struct of 44 bytes in size */
-
- typedef OpaquePtr ComponentResourcePtr; /* Substituted OpaquePtr for “ComponentResource*” */
-
- typedef OpaquePtr ComponentResourceHandle; /* Substituted OpaquePtr for “ComponentResourcePtr*” */
-
- typedef SOMLargeStruct ComponentPlatformInfo; /* Derived from a struct of 12 bytes in size */
-
- typedef SOMLargeStruct ComponentResourceExtension; /* Derived from a struct of 10 bytes in size */
-
- typedef SOMLargeStruct ComponentPlatformInfoArray; /* Derived from a struct of 16 bytes in size */
-
- typedef SOMLargeStruct ExtComponentResource; /* Derived from a struct of 70 bytes in size */
-
- typedef SOMLargeStruct ComponentParameters; /* Derived from a struct of 8 bytes in size */
-
- typedef SOMFourByteStruct ComponentRecord; /* Derived from a struct of 4 bytes in size */
-
- typedef OpaquePtr Component; /* Substituted OpaquePtr for “ComponentRecord*” */
-
- typedef SOMFourByteStruct ComponentInstanceRecord; /* Derived from a struct of 4 bytes in size */
-
- typedef OpaquePtr ComponentInstance; /* Substituted OpaquePtr for “ComponentInstanceRecord*” */
-
- typedef long ComponentResult;
-
- typedef SOMLargeStruct ComponentMPWorkFunctionHeaderRecord; /* Derived from a struct of 16 bytes in size */
-
- typedef OpaquePtr ComponentMPWorkFunctionHeaderRecordPtr; /* Substituted OpaquePtr for “ComponentMPWorkFunctionHeaderRecord*” */
-
- typedef OpaquePtr ComponentMPWorkFunctionProcPtr;
- typedef OpaquePtr ComponentMPWorkFunctionUPP;
- typedef OpaquePtr ComponentRoutineProcPtr;
- typedef OpaquePtr ComponentRoutineUPP;
- typedef ComponentRoutineProcPtr ComponentRoutine;
-
- /*
- The parameter list for each ComponentFunction is unique. It is
- therefore up to users to create the appropriate procInfo for their
- own ComponentFunctions where necessary.
- */
- typedef UniversalProcPtr ComponentFunctionUPP;
-
- /* Component Database Add, Delete, and Query Routines */
- /* Component Instance Allocation and dispatch routines */
- /* Direct calls to the Components */
- /* Component Management routines */
- /* Component Instance Management routines */
- /* Useful helper routines for convenient method dispatching */
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __COMPONENTS_IDL__ */
-
-